# $Id: PKGBUILD 65848 2012-02-22 13:02:46Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-html-tagfilter
pkgver=1.03
pkgrel=6
pkgdesc="Perl/CPAN Module HTML::TagFilter"
arch=("any")
url="http://search.cpan.org/dist/HTML-TagFilter"
license=("GPL" "PerlArtistic")
makedepends=("perl-uri" "perl-html-parser")
depends=("perl-uri" "perl-html-parser")
source=("http://www.cpan.org/authors/id/W/WR/WROSS/HTML-TagFilter-1.03.tar.gz")
md5sums=('e61d2f180e3ba55e5d71293d472ffebb')

build() {
  cd $srcdir/HTML-TagFilter-1.03
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
